Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: paragraph gets treated as comma #530

Merged
merged 1 commit into from
Oct 7, 2024

Conversation

melzreal
Copy link
Contributor

@melzreal melzreal commented Oct 4, 2024

Description

  • In French keyboards, the browser is detecting the code for a paragraph to be a comma instead.
  • To fix this, for the outlier of the comma,I'm using the check on key instead of code.

The remaining checks appear consistent across keyboards so I'm going with the minimum change possible

Screenshots

Checklist

  • 📗 all commit messages follow the conventional commits standard
  • ⬅️ changes are compatible with RTL direction
  • ♿ Changes to the UI are tested for accessibility and compliant with WCAG 2.1.
  • 📝 changes are tested in Chrome, Firefox, Safari and Edge
  • 📱 changes are responsive and tested in mobile
  • 👍 PR is approved by @zendesk/vikings

Copy link
Contributor

@luis-almeida luis-almeida left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it still draft?

- In French keyboards, the browser is detecting the
code for a paragraph to be a comma instead.
To fix this, for the outlier of the comma,
I'm using the check on key instead of code.

Garden has these keys available as constants
so I'm using them for consistency on comparison
@melzreal melzreal force-pushed the melreal/fix-comma-treated-as-paragraph branch from c01b0b4 to 0c01d76 Compare October 4, 2024 15:34
@melzreal
Copy link
Contributor Author

melzreal commented Oct 4, 2024

Is it still draft?

it was when you checked x) I was just asking Gianluca if we were ok with the approach or wanted consistency, ended up going with consistency for the keys by referring to the Garden constants (cuz e.key for space its just an empty space so it looked a little weird)

@melzreal melzreal marked this pull request as ready for review October 4, 2024 15:39
@melzreal melzreal requested a review from a team as a code owner October 4, 2024 15:39
@melzreal melzreal merged commit 670338e into master Oct 7, 2024
5 checks passed
@melzreal melzreal deleted the melreal/fix-comma-treated-as-paragraph branch October 7, 2024 07:53
@zd-svc-github-copenhagen-theme
Copy link
Collaborator

🎉 This PR is included in version 4.2.2 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants